<!DOCTYPE html>
<html>
<head>
<title>Single Page</title>
    {% load static %}
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
		function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="{% static "css/bootstrap.css" %}" rel="stylesheet" type="text/css" media="all" />
<!-- pop-up -->
<link href="{% static "css/popuo-box.css" %}" rel="stylesheet" type="text/css" media="all" />
<!-- //pop-up -->
<link href="{% static "css/easy-responsive-tabs.css" %}" rel='stylesheet' type='text/css'/>
<link rel="stylesheet" type="text/css" href="{% static "css/zoomslider.css" %}" />
<link rel="stylesheet" type="text/css" href="{% static "css/style.css" %}" />
<link href="{% static "css/font-awesome.css" %}" rel="stylesheet"> 
<script type="text/javascript" src="{% static "js/modernizr-2.6.2.min.js" %}"></script>
<!--/web-fonts-->
<link href='http://fonts.googleapis.com/css?family=Tangerine:400,700' rel='stylesheet' type='text/css'>
<link href="http://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<!--//web-fonts-->
</head>
<body>
<!--/main-header-->
  <!--/banner-section-->
	<div id="demo-1" class="banner-inner">
	 <div class="banner-inner-dott">
		<!--/header-w3l-->
			   <div class="header-w3-agileits" id="home">
			     <div class="inner-header-agile part2">	
				<nav class="navbar navbar-default">
					<div class="navbar-header">
						<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
							<span class="sr-only">Toggle navigation</span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
						</button>
						<h1><a  href="{% url "index" %}"><span>M</span>ovies <span>P</span>ro</a></h1>
					</div>
					<!-- navbar-header -->
					<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
							<ul class="nav navbar-nav">
							<li class="active"><a href="{% url "index" %}">Home</a></li>
							<li class="dropdown">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown">Genre <b class="caret"></b></a>
								<ul class="dropdown-menu multi-column columns-3">
									<li>
									<div class="col-sm-4">
										<ul class="multi-column-dropdown">
{#											<li><a href="{% url "genre" %}">Action</a></li>#}
{#											<li><a href="{% url "genre" %}">Biography</a></li>#}
{#											<li><a href="{% url "genre" %}">Crime</a></li>#}
                                            <li><a href="{% url "comedy" %}">Comedy</a></li>
											<li><a href="{% url "genre" %}">Recommend</a></li>
											<li><a href="{% url "honor_page" %}">Horror</a></li>
{#											<li><a href="{% url "genre" %}">Romance</a></li>#}
{#											<li><a href="{% url "genre" %}">Sports</a></li>#}
{#											<li><a href="{% url "genre" %}">War</a></li>#}
										</ul>
									</div>
{#									<div class="col-sm-4">#}
{#										<ul class="multi-column-dropdown">#}
{#											<li><a href="{% url "genre" %}">Adventure</a></li>#}
{#											#}
{#											<li><a href="{% url "genre" %}">Documentary</a></li>#}
{#											<li><a href="{% url "genre" %}">Fantasy</a></li>#}
{#											<li><a href="{% url "genre" %}">Thriller</a></li>#}
{#										</ul>#}
{#									</div>#}
{#									<div class="col-sm-4">#}
{#										<ul class="multi-column-dropdown">#}
{#											<li><a href="{% url "genre" %}">Animation</a></li>#}
{#											<li><a href="{% url "genre" %}">Costume</a></li>#}
{#											<li><a href="{% url "genre" %}">Drama</a></li>#}
{#											<li><a href="{% url "genre" %}">History</a></li>#}
{#											<li><a href="{% url "genre" %}">Musical</a></li>#}
{#											<li><a href="{% url "genre" %}">Psychological</a></li>#}
{#										</ul>#}
{#									</div>#}
									<div class="clearfix"></div>
									</li>
								</ul>
							</li>
{#							<li><a href="series.html">tv - series</a></li>#}
{#							<li><a href="news.html">news</a></li>#}
{#							<li class="dropdown">#}
{#								<a href="#" class="dropdown-toggle" data-toggle="dropdown">Country <b class="caret"></b></a>#}
{#								<ul class="dropdown-menu multi-column columns-3">#}
{#									<li>#}
{#										<div class="col-sm-4">#}
{#											<ul class="multi-column-dropdown">#}
{#												<li><a href="{% url "genre" %}">Asia</a></li>#}
{#												<li><a href="{% url "genre" %}">France</a></li>#}
{#												<li><a href="{% url "genre" %}">Taiwan</a></li>#}
{#												<li><a href="{% url "genre" %}">United States</a></li>#}
{#											</ul>#}
{#										</div>#}
{#										<div class="col-sm-4">#}
{#											<ul class="multi-column-dropdown">#}
{#												<li><a href="{% url "genre" %}">China</a></li>#}
{#												<li><a href="{% url "genre" %}">HongCong</a></li>#}
{#												<li><a href="{% url "genre" %}">Japan</a></li>#}
{#												<li><a href="{% url "genre" %}">Thailand</a></li>#}
{#											</ul>#}
{#										</div>#}
{#										<div class="col-sm-4">#}
{#											<ul class="multi-column-dropdown">#}
{#												<li><a href="{% url "genre" %}">Euro</a></li>#}
{#												<li><a href="{% url "genre" %}">India</a></li>#}
{#												<li><a href="{% url "genre" %}">Korea</a></li>#}
{#												<li><a href="{% url "genre" %}">United Kingdom</a></li>#}
{#											</ul>#}
{#										</div>#}
{#										<div class="clearfix"></div>#}
{#									</li>#}
{#								</ul>#}
{#							</li>#}
{#								<li><a href="list.html">A - z list</a></li>#}
{#							    <li><a href="contact.html">Contact</a></li>#}
						</ul>

					</div>
					<div class="clearfix"> </div>	
				</nav>
					<div class="w3ls_search">
									<div class="cd-main-header">
										<ul class="cd-header-buttons">
											<li><a class="cd-search-trigger" href="#cd-search"> <span></span></a></li>
										</ul> <!-- cd-header-buttons -->
									</div>
									<div id="cd-search" class="cd-search">
										<form action="{% url "search" %}" method="post">
											<input name="Search" type="search" placeholder="Search...">
										</form>
									</div>
								</div>
	
			</div> 

			   </div>
		<!--//header-w3l-->
		</div>
    </div>
  <!--/banner-section-->
 <!--//main-header-->
	         <!--/banner-bottom-->
			  <div class="w3_agilits_banner_bootm">
			     <div class="w3_agilits_inner_bottom">
			            <div class="col-md-6 wthree_agile_login">
						     <ul>
									 {% if not request.user.username %}
									<li><i class="fa fa-phone" aria-hidden="true"></i> (+000) 009 455 4088</li>
									<li><a href="#" class="login"  data-toggle="modal" data-target="#myModal4">Login</a></li>
									<li><a href="#" class="login reg"  data-toggle="modal" data-target="#myModal5">Register</a></li>
                                 {% else %}
                                 <li>欢迎您：{{ request.user.username }}</li>
                                 <li><a href="{% url 'logout_user' %}" class="login"  data-toggle="#" data-target="">Logout</a></li>
                                 {% endif %}

								</ul>
						</div>
						 <div class="col-md-6 wthree_share_agile">
									
									<div class="single-agile-shar-buttons">
									<ul>
										<li>
											<div class="fb-like fb_iframe_widget" data-href="" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="false" fb-xfbml-state="rendered" fb-iframe-plugin-query="action=like&amp;app_id=&amp;container_width=0&amp;href=https%3A%2F%2Fwww.facebook.com%2Fw3layouts&amp;layout=button_count&amp;locale=en_GB&amp;sdk=joey&amp;share=false&amp;show_faces=false&amp;size=small"><span style="vertical-align: bottom; width: 72px; height: 20px;"><iframe name="f2bcb80ca05f304" width="1000px" height="1000px" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" title="fb:like Facebook Social Plugin" src="https://www.facebook.com/v2.7/plugins/like.php?action=like&amp;app_id=&amp;channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2FfTmIQU3LxvB.js%3Fversion%3D42%23cb%3Df6413e2ef8005c%26domain%3D192.168.30.16%26origin%3Dhttp%253A%252F%252F192.168.30.16%252Ff23cad7c29602ec%26relation%3Dparent.parent&amp;container_width=0&amp;href=https%3A%2F%2Fwww.facebook.com%2Fw3layouts&amp;layout=button_count&amp;locale=en_GB&amp;sdk=joey&amp;share=false&amp;show_faces=false&amp;size=small" style="border: none; visibility: visible; width: 72px; height: 20px;" class=""></iframe></span></div>
											<script>(function(d, s, id) {
											  var js, fjs = d.getElementsByTagName(s)[0];
											  if (d.getElementById(id)) return;
											  js = d.createElement(s); js.id = id;
											  js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.7";
											  fjs.parentNode.insertBefore(js, fjs);
											}(document, 'script', 'facebook-jssdk'));</script>
										</li>
										<li>
											<div class="fb-share-button fb_iframe_widget" data-href="" data-layout="button_count" data-size="small" data-mobile-iframe="true" fb-xfbml-state="rendered" fb-iframe-plugin-query="app_id=&amp;container_width=31&amp;href=https%3A%2F%2Fwww.facebook.com%2Fw3layouts&amp;layout=button_count&amp;locale=en_GB&amp;mobile_iframe=true&amp;sdk=joey&amp;size=small"><span style="vertical-align: bottom; width: 89px; height: 20px;"><iframe name="f14663dc58e1108" width="1000px" height="1000px" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" title="fb:share_button Facebook Social Plugin" src="https://www.facebook.com/v2.7/plugins/share_button.php?app_id=&amp;channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2FfTmIQU3LxvB.js%3Fversion%3D42%23cb%3Dfd149d30fa205%26domain%3D192.168.30.16%26origin%3Dhttp%253A%252F%252F192.168.30.16%252Ff23cad7c29602ec%26relation%3Dparent.parent&amp;container_width=31&amp;href=https%3A%2F%2Fwww.facebook.com%2Fw3layouts&amp;layout=button_count&amp;locale=en_GB&amp;mobile_iframe=true&amp;sdk=joey&amp;size=small" style="border: none; visibility: visible; width: 89px; height: 20px;" class=""></iframe></span></div>
										</li>
										<li class="news-twitter">
											<iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" class="twitter-follow-button twitter-follow-button-rendered" title="Twitter Follow Button" src="http://platform.twitter.com/widgets/follow_button.39f7ee9fffbd122b7a37a520dbdaebc6.en.html#dnt=false&amp;id=twitter-widget-0&amp;lang=en&amp;screen_name=w3layouts&amp;show_count=false&amp;show_screen_name=true&amp;size=m&amp;time=1476942639462" style="position: static; visibility: visible; width: 125px; height: 20px;" data-screen-name="w3layouts"></iframe><script async="" src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
										</li>
										<li>
											<iframe id="twitter-widget-1" scrolling="no" frameborder="0" allowtransparency="true" class="twitter-mention-button twitter-mention-button-rendered twitter-tweet-button" title="Twitter Tweet Button" src="http://platform.twitter.com/widgets/tweet_button.39f7ee9fffbd122b7a37a520dbdaebc6.en.html#dnt=false&amp;id=twitter-widget-1&amp;lang=en&amp;original_referer=http%3A%2F%2F192.168.30.16%2Findraja%2Fseptember%2Fone_movies%2Fweb%2Fsingle.html&amp;screen_name=w3layouts&amp;size=m&amp;time=1476942639465&amp;type=mention" style="position: static; visibility: visible; width: 135px; height: 20px;" data-screen-name="w3layouts"></iframe><script async="" src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
										</li>
										<li>
											<!-- Place this tag where you want the +1 button to render. -->
											<div id="___plusone_0" style="text-indent: 0px; margin: 0px; padding: 0px; background: transparent; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; display: inline-block; width: 90px; height: 20px;"><iframe frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolling="no" style="position: static; top: 0px; width: 90px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 20px;" tabindex="0" vspace="0" width="100%" id="I0_1476942639795" name="I0_1476942639795" src="https://apis.google.com/se/0/_/+1/fastbutton?usegapi=1&amp;size=medium&amp;origin=http%3A%2F%2F192.168.30.16&amp;url=http%3A%2F%2F192.168.30.16%2Findraja%2Fseptember%2Fone_movies%2Fweb%2Fsingle.html&amp;gsrc=3p&amp;ic=1&amp;jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en_GB.kCpGxVlSmwA.O%2Fm%3D__features__%2Fam%3DAQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAGLTcCOqnR-IuajXkHTRXhjfhEDC7RD1og#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&amp;id=I0_1476942639795&amp;parent=http%3A%2F%2F192.168.30.16&amp;pfname=&amp;rpctoken=39371997" data-gapiattached="true" title="+1"></iframe></div>

											<!-- Place this tag after the last +1 button tag. -->
											<script type="text/javascript">
											  (function() {
												var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
												po.src = 'https://apis.google.com/{% static "js/platform.js" %}';
												var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
											  })();
											</script>
										</li>
									</ul>
								</div>
						</div>
				</div>
			</div>
			<!--//banner-bottom-->
		     <!-- Modal1 -->
					<div class="modal fade" id="myModal4" tabindex="-1" role="dialog" >

							<div class="modal-dialog">
							<!-- Modal content-->
								<div class="modal-content">
									<div class="modal-header">
										<button type="button" class="close" data-dismiss="modal">&times;</button>
										<h4>Login</h4>
										<div class="login-form">
											<form action="{% url 'login_user' %}" method="post">
                                                {%  csrf_token %}
                                                {{ loginform }}
{#												<input type="email" name="email" placeholder="E-mail" required="">#}
{#												<input type="password" name="password" placeholder="Password" required="">#}
												<div class="tp">
													<input type="submit" value="LOGIN NOW">
												</div>

												<div class="forgot-grid">
												       <div class="log-check">
														<label class="checkbox"><input type="checkbox" name="checkbox">Remember me</label>
														</div>
														<div class="forgot">
															<a href="#" data-toggle="modal" data-target="#myModal2">Forgot Password?</a>
														</div>
														<div class="clearfix"></div>
													</div>
												
											</form>
										</div>
									</div>
								</div>
							</div>
						</div>
				<!-- //Modal1 -->
				  <!-- Modal1 -->
					<div class="modal fade" id="myModal5" tabindex="-1" role="dialog" >

							<div class="modal-dialog">
							<!-- Modal content-->
								<div class="modal-content">
									<div class="modal-header">
										<button type="button" class="close" data-dismiss="modal">&times;</button>
										<h4>Register</h4>
										<div class="login-form">
											<form action="{% url 'create_user' %}" method="post">
                                                       {% csrf_token %}
{#                                                {{ usercreateform }}#}
                                                <span>Ursename：</span>{{ usercreateform.username }}
                                                <span>Password：</span>{{ usercreateform.password }}
                                                <span>Comfirm Password:</span>{{ usercreateform.comfirm_password  }}
{#											    <input type="text" name="name" placeholder="Name" required="">#}
{#												<input type="email" name="email" placeholder="E-mail" required="">#}
{#												<input type="password" name="password" placeholder="Password" required="">#}
{#												<input type="password" name="conform password" placeholder="Confirm Password" required="">#}
												<div class="signin-rit">
													<span class="agree-checkbox">
														<label class="checkbox"><input type="checkbox" name="checkbox">I agree to your <a class="w3layouts-t" href="#" target="_blank">Terms of Use</a> and <a class="w3layouts-t" href="#" target="_blank">Privacy Policy</a></label>
													</span>
												</div>
												<div class="tp">
													<input type="submit" value="REGISTER NOW">
												</div>

											</form>

										</div>
									</div>
								</div>
							</div>
						</div>
				<!-- //Modal1 -->
						<!-- breadcrumb -->
	<div class="w3_breadcrumb">
	<div class="breadcrumb-inner">	
			<ul>
				<li><a href="{% url "index" %}">Home</a><i>//</i></li>
				
				<li>Single</li>
			</ul>
		</div>
	</div>
<!-- //breadcrumb -->
			<!--/content-inner-section-->
				<div class="w3_content_agilleinfo_inner">
						<div class="agile_featured_movies">
				            <div class="inner-agile-w3l-part-head">
					            <h3 class="w3l-inner-h-title">Single Page</h3>
								<p class="w3ls_head_para">Add short Description</p>
							</div>
							   <div class="latest-news-agile-info">
								   <div class="col-md-8 latest-news-agile-left-content">
											<div class="single video_agile_player">
											       
										            <div class="video-grid-single-page-agileits">
														<div data-video="f2Z65fobH2I" id="video"> <img src="{{MEDIA_URL}}{{ movie_detail.movie_image }}" alt="" class="img-responsive" /> </div>
													</div>
													 <h4>{{ movie_detail.movie_name }} | {{ movie_detail.movie_content }}</h4>
										    </div>
											<div class="single-agile-shar-buttons">
											    <h5 >Share This :</h5>
													<ul>
														<li>
															<div class="fb-like" data-href="" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="false"></div>
															<script>(function(d, s, id) {
															  var js, fjs = d.getElementsByTagName(s)[0];
															  if (d.getElementById(id)) return;
															  js = d.createElement(s); js.id = id;
															  js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.7";
															  fjs.parentNode.insertBefore(js, fjs);
															}(document, 'script', 'facebook-jssdk'));</script>
														</li>
														<li>
															<div class="fb-share-button" data-href="" data-layout="button_count" data-size="small" data-mobile-iframe="true"><a class="fb-xfbml-parse-ignore" target="_blank" href="">Share</a></div>
														</li>
														<li class="news-twitter">
															<a href="" class="twitter-follow-button" data-show-count="false">Follow @w3layouts</a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
														</li>
														<li>
															<a href="https://twitter.com/intent/tweet?screen_name=w3layouts" class="twitter-mention-button" data-show-count="false">Tweet to @w3layouts</a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
														</li>
														<li>
															<!-- Place this tag where you want the +1 button to render. -->
															<div class="g-plusone" data-size="medium"></div>

															<!-- Place this tag after the last +1 button tag. -->
															<script type="text/javascript">
															  (function() {
																var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
																po.src = 'https://apis.google.com/{% static "js/platform.js" %}';
																var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
															  })();
															</script>
														</li>
													</ul>
											</div>
                                    {% for i in comment|slice:"0:1" %}
										<div class="admin-text">

												<h5>WRITTEN BY {{ i.comment_person }}</h5>
												<div class="admin-text-left">

													<a href="#"><img src="{{MEDIA_URL}}images/admin.jpg" alt=""></a>
												</div>
												<div class="admin-text-right">
													<p>{{ i.comment_content }}</p>
													<span>{{ i.comment_date }}</span>
												</div>
												<div class="clearfix"> </div>
										</div>
                                                 {% empty %}

                                               	<div class="admin-text">

												<h5>WRITTEN BY </h5>
												<div class="admin-text-left">

{#													<a href="#"><img src="{{MEDIA_URL}}images/admin.jpg" alt=""></a>#}
												</div>
												<div class="admin-text-right">
													<p></p>
													<span></span>
												</div>
												<div class="clearfix"> </div>
										</div>
                                       {% endfor %}
										<div class="response">
							<h4>Responses</h4>
                                            {% for i in comment|slice:"1:7" %}
							<div class="media response-info">
								<div class="media-left response-text-left">
									<a href="#">
										<img class="media-object" src="{{MEDIA_URL}}images/admin.jpg" alt="">
									</a>
									<h5><a href="#">{{ i.comment_person }}</a></h5>
								</div>
								<div class="media-body response-text-right">
									<p>{{ i.comment_content }}</p>
									<ul>
										<li>{{ i.comment_date }}</li>
{#										<li><a href="single.html"><i class="fa fa-reply" aria-hidden="true"></i> Reply</a></li>#}
									</ul>
									<div class="media response-info">
										<div class="media-left response-text-left">
											<a href="#">
{#												<img class="media-object" src="{{MEDIA_URL}}images/admin.jpg" alt="">#}
											</a>
											<h5><a href="#"></a></h5>
										</div>
										<div class="media-body response-text-right">
											<p></p>
											<ul>
												<li></li>
												<li><a href="single.html"><i class="fa fa-reply" aria-hidden="true"></i> </a></li>
											</ul>
										</div>
										<div class="clearfix"> </div>
									</div>
								</div>
								<div class="clearfix"> </div>
							</div>
                                                {% empty %}
                                                <div class="media response-info">
								<div class="media-left response-text-left">
									<a href="#">
{#										<img class="media-object" src="{{MEDIA_URL}}images/admin.jpg" alt="">#}
									</a>
									<h5><a href="#"></a></h5>
								</div>
								<div class="media-body response-text-right">
									<p></p>
									<ul>
										<li></li>
{#										<li><a href="single.html"><i class="fa fa-reply" aria-hidden="true"></i> Reply</a></li>#}
									</ul>
									<div class="media response-info">
										<div class="media-left response-text-left">
											<a href="#">
{#												<img class="media-object" src="{{MEDIA_URL}}images/admin.jpg" alt="">#}
											</a>
											<h5><a href="#"></a></h5>
										</div>
										<div class="media-body response-text-right">
											<p></p>
											<ul>
												<li></li>
												<li><a href="single.html"><i class="fa fa-reply" aria-hidden="true"></i> </a></li>
											</ul>
										</div>
										<div class="clearfix"> </div>
									</div>
								</div>
								<div class="clearfix"> </div>
							</div>
                                            {% endfor %}
{#							<div class="media response-info">#}
{#								<div class="media-left response-text-left">#}
{#									<a href="#">#}
{#										<img class="media-object" src="{{MEDIA_URL}}images/admin.jpg" alt="">#}
{#									</a>#}
{#									<h5><a href="#">Admin</a></h5>#}
{#								</div>#}
{#								<div class="media-body response-text-right">#}
{#									<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,There are many variations of passages of Lorem Ipsum available, #}
{#										sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.There are many variations of passages of Lorem Ipsum available.</p>#}
{#									<ul>#}
{#										<li>November 03, 2016</li>#}
{#										<li><a href="single.html"><i class="fa fa-reply" aria-hidden="true"></i> Reply</a></li>#}
{#									</ul>		#}
{#								</div>#}
{#								<div class="clearfix"> </div>#}
{#							</div>#}
						</div>
											<div class="all-comments-info">
												 <h5 >LEAVE A COMMENT</h5>
												<div class="agile-info-wthree-box">
													<form action="{% url 'comment' %}" method="post">
{#													   <div class="col-md-6 form-info">#}
{#														<input type="text" name="name" placeholder="Your Name" required="">			           					   #}
{#														<input type="email" name="email" placeholder="Your Email" required="">#}
{#														<input type="text" name="phone" placeholder="Your Phone" required="">	#}
{#													  </div>#}
													   <div class="col-md-6 form-info">
                                                           {% csrf_token %}
                                                           <input type="hidden" value="{{ request.user.username}}" name="user">
														{{ commentform.comment_content }}
                                                           <input type="hidden" value="{{ movie_detail.pk}}" name="movie">
{#														<textarea placeholder="Message" required=""></textarea>#}
														<input type="submit" value="SEND">
													 </div>
													 <div class="clearfix"> </div>
														
														
													</form>
												</div>
											</div>
								   </div>
								   <div class="col-md-4 latest-news-agile-right-content">
								   <h4 class="side-t-w3l-agile">For Latest <span>Movies</span></h4>
										<div class="side-bar-form">
										 <form action="{% url 'search' %}" method="post">
											<input type="Search" name="email" placeholder="Search here...." required="required">
											<input type="submit" value=" ">
										 </form>
									    </div>
								      <h3 class="side-t-w3l-agile">Hot <span>Topics</span></h3>
									    <ul class="side-bar-agile">
                                            {% for i in movie_hottopic|slice:"0:4" %}
										   <li><a href="{% url 'single' i.pk %}">{{ i.movie_content }}</a><p>{{ i.release_time }}</p></li>
                                            {% endfor %}
{#										   <li><a href="single.html">Romantic drama about two people finding out that love</a><p>Feb 3, 2016</p></li>#}
{#										   <li><a href="single.html">Storks have moved on from delivering babies to packages ...</a><p>Aug 1, 2016</p></li>#}
{#										   <li><a href="single.html">John Abraham, Sonakshi Sinha and Tahir ...</a><p>Sep 29, 2016</p></li>#}
{#										   <li><a href="single.html">John Abraham, Sonakshi Sinha and Tahir ...</a><p>Sep 29, 2016</p></li>#}
										</ul>

										<h3 class="side-t-w3l-agile">Latest <span>Trailer</span></h3>
										<div class="video_agile_player sidebar-player">
										            <div class="video-grid-single-page-agileits">
														<div data-video="fNKUgX8PhMA" id="video1"> <img src="{{MEDIA_URL}}{{ movie_recent_vist.1.movie_id.movie_image }}" alt="" class="img-responsive"> <div id="play"></div></div>
													</div>


										        <div class="player-text side-bar-info">
												<p class="fexi_header">{{ movie_recent_vist.1.movie_id.movie_name }} </p>
												<p class="fexi_header_para"><span class="conjuring_w3">Story Line<label>:</label></span>{{ movie_recent_vist.1.movie_id.movie_content}}1233rfeawfdwaFEWBJKLP[;]MKDAFGRQFGEQFEQFEQ</p>
												<p class="fexi_header_para"><span>Release On<label>:</label></span>{{ movie_recent_vist.1.movie_id.movie.release_time}} </p>
												<p class="fexi_header_para">
													<span>Genres<label>:</label> </span>
													<a href="{% url "genre" %}">Drama</a> |
													<a href="{% url "genre" %}">Adventure</a> |
													<a href="{% url "genre" %}">Family</a>
												</p>
												<p class="fexi_header_para fexi_header_para1"><span>Star Rating<label>:</label></span>
													<a href="#"><i class="fa fa-star" aria-hidden="true"></i></a>
													<a href="#"><i class="fa fa-star" aria-hidden="true"></i></a>
													<a href="#"><i class="fa fa-star-half-o" aria-hidden="true"></i></a>
													<a href="#"><i class="fa fa-star-o" aria-hidden="true"></i></a>
													<a href="#"><i class="fa fa-star-o" aria-hidden="true"></i></a>
												</p>
											</div>

										    </div>
											<div class="clearfix"> </div>
											<div class="agile-info-recent">

											<h4 class="side-t-w3l-agile">Latest <span>Trailer</span></h4>
                                                {% for i in movie_recent_vist|slice:"2:4" %}
											<div class="w3ls-recent-grids">
												<div class="w3l-recent-grid">
													<div class="wom">
														<a href="{% url 'single' i.movie_id.pk %}"><img src="{{MEDIA_URL}}{{ i.movie_id.movie_image }}" alt=" " class="img-responsive"></a>
													</div>
													<div class="wom-right">
														<h5><a href="{% url 'single' i.movie_id.pk %}">{{ i.movie_id.movie_name }}</a></h5>
														<p>{{ i.movie_id.movie_content }}</p>
															<ul class="w3l-sider-list">
																<li><i class="fa fa-clock-o" aria-hidden="true"></i>{{ i.movie_id.release_time }}</li>
																<li><i class="fa fa-eye" aria-hidden="true"></i> 2602</li>
															</ul>
													</div>
													<div class="clearfix"> </div>
												</div>
{#												<div class="w3l-recent-grid">#}
{#													<div class="wom">#}
{#														<a href="single.html"><img src="{{MEDIA_URL}}images/m13.jpg" alt=" " class="img-responsive"></a>#}
{#													</div>#}
{#													<div class="wom-right">#}
{#															<h5><a href="single.html">Lorem Integer rutrum</a></h5>#}
{#														<p>Mauris fermentum dictum magna. Sed laoreet aliquam leo. #}
{#															Ut tellus dolor, dapibus eget.</p>#}
{#															<ul class="w3l-sider-list">#}
{#																<li><i class="fa fa-clock-o" aria-hidden="true"></i>On Mar 3, 2016</li>#}
{#																<li><i class="fa fa-eye" aria-hidden="true"></i> 2742</li>#}
{#															</ul>#}
{#													</div>#}
{#													<div class="clearfix"> </div>#}
{#												</div>#}
{#												<div class="w3l-recent-grid">#}
{#													<div class="wom">#}
{#														<a href="single.html"><img src="{{MEDIA_URL}}images/m14.jpg" alt=" " class="img-responsive"></a>#}
{#													</div>#}
{#													<div class="wom-right">#}
{#															<h5><a href="single.html">Lorem Integer rutrum</a></h5>#}
{#														    <p>Mauris fermentum dictum magna. Sed laoreet aliquam leo. #}
{#															Ut tellus dolor, dapibus eget.</p>#}
{#															<ul class="w3l-sider-list">#}
{#																<li><i class="fa fa-clock-o" aria-hidden="true"></i>On Oct 13, 2016</li>#}
{#																<li><i class="fa fa-eye" aria-hidden="true"></i> 2802</li>#}
{#															</ul>#}
{#													</div>#}
{#													<div class="clearfix"> </div>#}
{#												</div>#}
											</div>
                                                {% endfor %}
										</div>
										
							       </div>
								   <div class="clearfix"></div>
							   </div>
					
						</div>
				</div>
			<!--//content-inner-section-->


	<!--/footer-bottom-->
{#		<div class="contact-w3ls" id="contact">#}
{#			<div class="footer-w3lagile-inner">#}
{#				<h2>Sign up for our <span>Newsletter</span></h2>#}
{#				<p class="para">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vitae eros eget tellus #}
{#					tristique bibendum. Donec rutrum sed sem quis venenatis.</p>#}
{#				<div class="footer-contact">#}
{#					<form action="#" method="post">#}
{#						<input type="email" name="Email" placeholder="Enter your email...." required=" ">#}
{#						<input type="submit" value="Subscribe">#}
{#					</form>#}
{#				</div>#}
{#					<div class="footer-grids w3-agileits">#}
{#						<div class="col-md-2 footer-grid">#}
{#						<h4>Release</h4>#}
{#							<ul> #}
{#								<li><a href="#" title="Release 2016">2016</a></li> #}
{#								<li><a href="#" title="Release 2015">2015</a></li>#}
{#								<li><a href="#" title="Release 2014">2014</a></li> #}
{#								<li><a href="#" title="Release 2013">2013</a></li> #}
{#								<li><a href="#" title="Release 2012">2012</a></li>#}
{#								<li><a href="#" title="Release 2011">2011</a></li> #}
{#							</ul>#}
{#						</div>#}
{#							<div class="col-md-2 footer-grid">#}
{#						<h4>Movies</h4>#}
{#							<ul>#}
{#								#}
{#								<li><a href="{% url "genre" %}">ADVENTURE</a></li>#}
{#								<li><a href="{% url "comedy" %}">COMEDY</a></li>#}
{#								<li><a href="series.html">FANTASY</a></li>#}
{#								<li><a href="series.html">ACTION  </a></li>#}
{#								<li><a href="{% url "genre" %}">MOVIES  </a></li>#}
{#								<li><a href="{% url "honor_page" %}">HORROR  </a></li>#}
{#								#}
{#							</ul>#}
{#						</div>#}
{#				#}
{##}
{#							<div class="col-md-2 footer-grid">#}
{#								<h4>Review Movies</h4>#}
{#									<ul class="w3-tag2">#}
{#									<li><a href="{% url "comedy" %}">Comedy</a></li>#}
{#									<li><a href="{% url "honor_page" %}">Horror</a></li>#}
{#									<li><a href="series.html">Historical</a></li>#}
{#									<li><a href="series.html">Romantic</a></li>#}
{#									<li><a href="series.html">Love</a></li>#}
{#									<li><a href="{% url "genre" %}">Action</a></li>#}
{#									<li><a href="single.html">Reviews</a></li>#}
{#									<li><a href="{% url "comedy" %}">Comedy</a></li>#}
{#									<li><a href="{% url "honor_page" %}">Horror</a></li>#}
{#									<li><a href="series.html">Historical</a></li>#}
{#									<li><a href="series.html">Romantic</a></li>#}
{#									<li><a href="{% url "genre" %}">Love</a></li>#}
{#									<li><a href="{% url "comedy" %}">Comedy</a></li>#}
{#									<li><a href="{% url "honor_page" %}">Horror</a></li>#}
{#									<li><a href="{% url "genre" %}">Historical</a></li>#}
{#									#}
{#								</ul>#}
{##}
{##}
{#						</div>#}
{#								<div class="col-md-2 footer-grid">#}
{#						<h4>Latest Movies</h4>#}
{#							<div class="footer-grid1">#}
{#								<div class="footer-grid1-left">#}
{#									<a href="single.html"><img src="{{MEDIA_URL}}images/1.jpg" alt=" " class="img-responsive"></a>#}
{#								</div>#}
{#								<div class="footer-grid1-right">#}
{#									<a href="single.html">eveniet ut molesti</a>#}
{#									#}
{#								</div>#}
{#								<div class="clearfix"> </div>#}
{#							</div>#}
{#							<div class="footer-grid1">#}
{#								<div class="footer-grid1-left">#}
{#									<a href="single.html"><img src="{{MEDIA_URL}}images/2.jpg" alt=" " class="img-responsive"></a>#}
{#								</div>#}
{#								<div class="footer-grid1-right">#}
{#									<a href="single.html">earum rerum tenet</a>#}
{#									#}
{#								</div>#}
{#								<div class="clearfix"> </div>#}
{#							</div>#}
{#							<div class="footer-grid1">#}
{#							#}
{#								<div class="footer-grid1-left">#}
{#									<a href="single.html"><img src="{{MEDIA_URL}}images/4.jpg" alt=" " class="img-responsive"></a>#}
{#								</div>#}
{#								<div class="footer-grid1-right">#}
{#									<a href="single.html">eveniet ut molesti</a>#}
{#									#}
{#								</div>#}
{#								<div class="clearfix"> </div>#}
{#							</div>#}
{#							<div class="footer-grid1">#}
{#								<div class="footer-grid1-left">#}
{#									<a href="single.html"><img src="{{MEDIA_URL}}images/3.jpg" alt=" " class="img-responsive"></a>#}
{#								</div>#}
{#								<div class="footer-grid1-right">#}
{#									<a href="single.html">earum rerum tenet</a>#}
{#									#}
{#								</div>#}
{#								<div class="clearfix"> </div>#}
{#							</div>#}
{##}
{##}
{#						</div>#}
{#						<div class="col-md-2 footer-grid">#}
{#						   <h4 class="b-log"><a href="{% url "index" %}"><span>M</span>ovies <span>P</span>ro</a></h4>#}
{#							<div class="footer-grid-instagram">#}
{#							<a href="single.html"><img src="{{MEDIA_URL}}images/m1.jpg" alt=" " class="img-responsive"></a>#}
{#							</div>#}
{#							<div class="footer-grid-instagram">#}
{#							<a href="single.html"><img src="{{MEDIA_URL}}images/m2.jpg" alt=" " class="img-responsive"></a>#}
{#							</div>#}
{#							<div class="footer-grid-instagram">#}
{#								<a href="single.html"><img src="{{MEDIA_URL}}images/m3.jpg" alt=" " class="img-responsive"></a>#}
{#							</div>#}
{#							<div class="footer-grid-instagram">#}
{#							<a href="single.html"><img src="{{MEDIA_URL}}images/m4.jpg" alt=" " class="img-responsive"></a>#}
{#							</div>#}
{#							<div class="footer-grid-instagram">#}
{#								<a href="single.html"><img src="{{MEDIA_URL}}images/m5.jpg" alt=" " class="img-responsive"></a>#}
{#							</div>#}
{#							<div class="footer-grid-instagram">#}
{#							<a href="single.html"><img src="{{MEDIA_URL}}images/m6.jpg" alt=" " class="img-responsive"></a>#}
{#							</div>#}
{#								#}
{#							<div class="clearfix"> </div>#}
{#						</div>#}
{#						<div class="clearfix"> </div>#}
{#						<ul class="bottom-links-agile">#}
{#								<li><a href="icons.html" title="Font Icons">Icons</a></li> #}
{#								<li><a href="short-codes.html" title="Short Codes">Short Codes</a></li> #}
{#								<li><a href="contact.html" title="contact">Contact</a></li> #}
{#								#}
{#							</ul>#}
{#					</div>#}
{#					<h3 class="text-center follow">Connect <span>Us</span></h3>#}
{#						<ul class="social-icons1 agileinfo">#}
{#							<li><a href="#"><i class="fa fa-facebook"></i></a></li>#}
{#							<li><a href="#"><i class="fa fa-twitter"></i></a></li>#}
{#							<li><a href="#"><i class="fa fa-linkedin"></i></a></li>#}
{#							<li><a href="#"><i class="fa fa-youtube"></i></a></li>#}
{#							<li><a href="#"><i class="fa fa-google-plus"></i></a></li>#}
{#						</ul>	#}
{#					#}
{#			 </div>#}
{#						#}
{#			</div>#}
{#			<div class="w3agile_footer_copy">#}
{#				    <p>Copyright &copy; 2017.Company name All rights reserved.More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a></p>#}
{#			</div>#}
{#		<a href="#home" id="toTop" class="scroll" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>#}

<script src="{% static "js/jquery-1.11.1.min.js" %}"></script>
	<!-- Dropdown-Menu-JavaScript -->
			<script>
				$(document).ready(function(){
					$(".dropdown").hover(            
						function() {
							$('.dropdown-menu', this).stop( true, true ).slideDown("fast");
							$(this).toggleClass('open');        
						},
						function() {
							$('.dropdown-menu', this).stop( true, true ).slideUp("fast");
							$(this).toggleClass('open');       
						}
					);
				});
			</script>
		<!-- //Dropdown-Menu-JavaScript -->
		<!-- search-jQuery -->
				<script src="{% static "js/main.js" %}"></script>
			
			<script src="{% static "js/simplePlayer.js" %}"></script>
			<script>
				$("document").ready(function() {
					$("#video").simplePlayer();
				});
			</script>
			<script>
				$("document").ready(function() {
					$("#video1").simplePlayer();
				});
			</script>
			<script>
				$("document").ready(function() {
					$("#video2").simplePlayer();
				});
			</script>
				<script>
				$("document").ready(function() {
					$("#video3").simplePlayer();
				});
			</script>
			<script>
				$("document").ready(function() {
					$("#video4").simplePlayer();
				});
			</script>
			<script>
				$("document").ready(function() {
					$("#video5").simplePlayer();
				});
			</script>
			<script>
				$("document").ready(function() {
					$("#video6").simplePlayer();
				});
			</script>
			<script>
				$("document").ready(function() {
					$("#video6").simplePlayer();
				});
			</script>

			<!-- pop-up-box -->  
		<script src="{% static "js/jquery.magnific-popup.js" %}" type="text/javascript"></script>
	<!--//pop-up-box -->

			<div id="small-dialog1" class="mfp-hide">
		<iframe src=""></iframe>
	</div>
	<div id="small-dialog2" class="mfp-hide">
		<iframe src=""></iframe>
	</div>
	<script>
		$(document).ready(function() {
		$('.w3_play_icon,.w3_play_icon1,.w3_play_icon2').magnificPopup({
			type: 'inline',
			fixedContentPos: false,
			fixedBgPos: true,
			overflowY: 'auto',
			closeBtnInside: true,
			preloader: false,
			midClick: true,
			removalDelay: 300,
			mainClass: 'my-mfp-zoom-in'
		});
																		
		});
	</script>
<script src="{% static "js/easy-responsive-tabs.js" %}"></script>
<script>
$(document).ready(function () {
$('#horizontalTab').easyResponsiveTabs({
type: 'default', //Types: default, vertical, accordion           
width: 'auto', //auto or any width like 600px
fit: true,   // 100% fit in a container
closed: 'accordion', // Start closed if in accordion view
activate: function(event) { // Callback function if tab is switched
var $tab = $(this);
var $info = $('#tabInfo');
var $name = $('span', $info);
$name.text($tab.text());
$info.show();
}
});
$('#verticalTab').easyResponsiveTabs({
type: 'vertical',
width: 'auto',
fit: true
});
});
</script>
<link href="{% static "css/owl.carousel.css" %}" rel="stylesheet" type="text/css" media="all">
<script src="{% static "js/owl.carousel.js" %}"></script>
<script>
	$(document).ready(function() { 
		$("#owl-demo").owlCarousel({
	 
		 autoPlay: 3000, //Set AutoPlay to 3 seconds
		  autoPlay : true,
		   navigation :true,

		  items : 5,
		  itemsDesktop : [640,4],
		  itemsDesktopSmall : [414,3]
	 
		});
	 
	}); 
</script> 

<!--/script-->
<script type="text/javascript" src="{% static "js/move-top.js" %}"></script>
<script type="text/javascript" src="{% static "js/easing.js" %}"></script>

<script type="text/javascript">
			jQuery(document).ready(function($) {
				$(".scroll").click(function(event){		
					event.preventDefault();
					$('html,body').animate({scrollTop:$(this.hash).offset().top},900);
				});
			});
</script>
 <script type="text/javascript">
						$(document).ready(function() {
							/*
							var defaults = {
					  			containerID: 'toTop', // fading element id
								containerHoverID: 'toTopHover', // fading element hover id
								scrollSpeed: 1200,
								easingType: 'linear' 
					 		};
							*/
							
							$().UItoTop({ easingType: 'easeOutQuart' });
							
						});
					</script>
<!--end-smooth-scrolling-->
	<script src="{% static "js/bootstrap.js" %}"></script>

 

</body>
</html>